package com.party.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 课程信息对象 t_kc
 *
 * @author ruoyi
 * @date 2024-11-08
 */
@Data
@TableName(value = "t_kc")
@EqualsAndHashCode(callSuper = true)
public class TKc extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "课程名称"
     */
    @Excel(name = "课程名称")
    private String title;

    /**
     * "课程分类"
     */
    @Excel(name = "课程分类")
    private String kcType;

    /**
     * "课程封面"
     */
    @Excel(name = "课程封面")
    private String image;

    /**
     * "视频"
     */
    @Excel(name = "视频")
    private String video;

    /**
     * "岗位Id"
     */
    @Excel(name = "岗位Id")
    private String postId;

    /**
     * "部门Id"
     */
    @Excel(name = "部门Id")
    private String deptId;


    /**
     * "状态"
     */
    private String status;


    @TableField(exist = false)
    private long createTimeDate;


    /**
     * "工龄最小值"
     */
    @Excel(name = "工龄最小值")
    private Long glMin;

    /**
     * "工龄最大值"
     */
    @Excel(name = "工龄最大值")
    private Long glMax;


    private String delFlag;

    /**
     * "课程分类名称"
     */
    @TableField(exist = false)
    private String kcTypeName;


    @TableField(exist = false)
    private List<Long> postList;

    @TableField(exist = false)
    private List<Long> deptList;
    // 岗位名称
    @TableField(exist = false)
    private String postName;
    // 部门名称
    @TableField(exist = false)
    private String deptName;


    /**
     * "视频信息"
     */
    @TableField(exist = false)
    private List<TFjFile> fileList;

    // 是否考试过
    @TableField(exist = false)
    private long isKc;

    // 是否完成
    @TableField(exist = false)
    private Integer isFinish;


    @TableField(exist = false)
    private long currentUserId;

    // 工龄
    @TableField(exist = false)
    private long currentGl;

    @TableField(exist = false)
    private String currDept;
    @TableField(exist = false)
    private String currPost;

    // 1   已学习  2 未学习
    @TableField(exist = false)
    private String kcStatus;


}
